//
//  UIImageView+Extension.swift
//  xinlangweibo
//
//  Created by yangshuo on 15/11/25.
//  Copyright © 2015年 yangshuo. All rights reserved.
//

import UIKit
extension UIImageView{
    convenience init(imageName: String){
        // 像UIImageView(image: UIImage(named: "visitordiscover_feed_image_smallicon"))
        //非懒加载的控件,进行便利构造函数时,直接实例化对象self.init()
        self.init(image: UIImage(named: imageName))
        

    }
}
